#ifndef FLUID_H
#define FLUID_H

#include "Object3D.h"
#include "Particle.h"
#include "sphengine.h"
#include <QVector3D>

class Fluid : public Object3D
{
    QList<Particle*> particles;
	SPHEngine* engine;

    QVector3D boxm;
    QVector3D boxM;

public:
    Fluid();
	void update();
    void crash();

protected:
    void drawGeometry(void);

private:
    void drawBox();

};

#endif // FLUID_H
